// LINQ
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1810:InitializeReferenceTypeStaticFieldsInline", Scope = "member", Target = "System.Linq.Dynamic.ClassFactory.#.cctor()")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity", Scope = "member", Target = "System.Linq.Dynamic.ExpressionParser.#IsCompatibleWith(System.Type,System.Type)")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity", Scope = "member", Target = "System.Linq.Dynamic.ExpressionParser.#NextToken()")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity", Scope = "member", Target = "System.Linq.Dynamic.ExpressionParser.#ParseComparison()")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily", Scope = "member", Target = "System.Linq.Dynamic.ExpressionParser.#ParseIdentifier()")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1500:VariableNamesShouldNotMatchFieldNames", MessageId = "text", Scope = "member", Target = "System.Linq.Dynamic.ExpressionParser.#ParseIntegerLiteral()")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily", Scope = "member", Target = "System.Linq.Dynamic.ExpressionParser.#ParseMemberAccess(System.Type,System.Linq.Expressions.Expression)")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1500:VariableNamesShouldNotMatchFieldNames", MessageId = "text", Scope = "member", Target = "System.Linq.Dynamic.ExpressionParser.#ParseRealLiteral()")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily", Scope = "member", Target = "System.Linq.Dynamic.ExpressionParser.#ProcessValues(System.Object[])")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily", Scope = "member", Target = "System.Linq.Dynamic.ExpressionParser.#PromoteExpression(System.Linq.Expressions.Expression,System.Type,System.Boolean)")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1500:VariableNamesShouldNotMatchFieldNames", MessageId = "text", Scope = "member", Target = "System.Linq.Dynamic.ExpressionParser.#PromoteExpression(System.Linq.Expressions.Expression,System.Type,System.Boolean)")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1064:ExceptionsShouldBePublic", Scope = "type", Target = "System.Linq.Dynamic.ParseException")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily", Scope = "member", Target = "System.Linq.Dynamic.Signature.#Equals(System.Object)")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity", Scope = "member", Target = "OpenRiaServices.DomainServices.Client.ExpressionVisitor.#Visit(System.Linq.Expressions.Expression)")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2201:DoNotRaiseReservedExceptionTypes", Scope = "member", Target = "OpenRiaServices.DomainServices.Client.ExpressionVisitor.#Visit(System.Linq.Expressions.Expression)")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2201:DoNotRaiseReservedExceptionTypes", Scope = "member", Target = "OpenRiaServices.DomainServices.Client.ExpressionVisitor.#VisitBinding(System.Linq.Expressions.MemberBinding)")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1703:ResourceStringsShouldBeSpelledCorrectly", MessageId = "iif", Scope = "resource", Target = "OpenRiaServices.DomainServices.Hosting.Linq.Resource.resources")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2237:MarkISerializableTypesWithSerializable", Scope = "type", Target = "System.Linq.Dynamic.ParseException", Justification = "Exception is intended to only be used by the dynamic parser.")]

[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Ria", Scope = "namespace", Target = "OpenRiaServices.DomainServices.Server.ApplicationServices", Justification = "Spelling is correct.")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "OpenRiaServices.DomainServices.Hosting", Justification = "There will be more types later.")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "OpenRiaServices.DomainServices.Server.ApplicationServices", Justification = "There will be more types later.")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("General", "SWC1001:XmlDocumentationCommentShouldBeSpelledCorrectly", MessageId = "Params", Justification = "Duplicating the syntax of the base class.")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Portability", "CA1903:UseOnlyApiFromTargetedFramework", MessageId = "System.Web.Abstractions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays", Scope = "member", Target = "OpenRiaServices.DomainServices.Hosting.OutputCacheAttribute.#SqlCacheDependencies")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays", Scope = "member", Target = "OpenRiaServices.DomainServices.Hosting.OutputCacheAttribute.#VaryByHeaders")]

[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes", Scope = "member", Target = "OpenRiaServices.DomainServices.Hosting.DomainServiceVirtualPathProvider.#EnsureDomainServiceTypes()", Justification = "We want to be relatively forgiving, such that one corrupt assembly doesn't necessarily bring down everything.")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1506:AvoidExcessiveClassCoupling", Scope = "type", Target = "OpenRiaServices.DomainServices.Hosting.DomainServiceHost")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "OpenRiaServices.DomainServices.Hosting.DomainServiceWebHttpBehavior+WebHttpErrorHandler.#ProvideFault(System.Exception,System.ServiceModel.Channels.MessageVersion,System.ServiceModel.Channels.Message&)", Justification = "Content-types need to be lower-case.")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "OpenRiaServices.DomainServices", Justification = "There will be more types.")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes", Scope = "member", Target = "OpenRiaServices.DomainServices.Hosting.DomainServiceVirtualPathProvider.#EnsureDomainServiceTypes()")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Scope = "member", Target = "OpenRiaServices.DomainServices.Hosting.QueryResult.#GetIncludedResults()", Justification = "API design")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity", Scope = "member", Target = "OpenRiaServices.DomainServices.Hosting.SubmitOperationInvoker.#SetEntityAssociations(System.Collections.Generic.IEnumerable`1<OpenRiaServices.DomainServices.Server.ChangeSetEntry>)")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Scope = "member", Target = "OpenRiaServices.DomainServices.Hosting.QueryResult.#GetRootResults()", Justification = "API design")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1721:PropertyNamesShouldNotMatchGetMethods", Scope = "member", Target = "OpenRiaServices.DomainServices.Hosting.QueryResult`1.#IncludedResults", Justification = "API design")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1721:PropertyNamesShouldNotMatchGetMethods", Scope = "member", Target = "OpenRiaServices.DomainServices.Hosting.QueryResult`1.#RootResults", Justification = "API design")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Json", Scope = "member", Target = "OpenRiaServices.DomainServices.Hosting.DomainServiceHost.#AddRestWithJsonEndpoint()", Justification = "Spelling is correct.")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity", Scope = "member", Target = "OpenRiaServices.DomainServices.Hosting.ChangeSetProcessor.#SetEntityAssociations(System.Collections.Generic.IEnumerable`1<OpenRiaServices.DomainServices.Server.ChangeSetEntry>)", Justification = "Temporary exclusion. Code contains TODO marker to address this issue.")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Scope = "member", Target = "OpenRiaServices.DomainServices.Hosting.DomainServiceFault.#GetValidationErrors()", Justification = "This method is too expensive to make it a property")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Json", Scope = "member", Target = "OpenRiaServices.DomainServices.Hosting.DomainServiceHost.#AddRestWithJsonEndpoint(System.Uri)", Justification = "Spelling is correct")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Reliability", "CA2000:Dispose objects before losing scope", Scope = "member", Target = "OpenRiaServices.DomainServices.Hosting.DomainServiceVirtualFile.#Open()", Justification = "Is being handled properly now.")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA2210:AssembliesShouldHaveValidStrongNames", Justification = "Assemblies are delay-signed.")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Reliability", "CA2000:Dispose objects before losing scope", Scope = "member", Target = "OpenRiaServices.DomainServices.Hosting.PoxBinaryMessageEncodingBindingElement+PoxBinaryMessageEncoder.#ReadMessage(System.ArraySegment`1<System.Byte>,System.ServiceModel.Channels.BufferManager,System.String)", Justification = "Disposing reader will prevent the message from being read correctly.")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Reliability", "CA2000:Dispose objects before losing scope", Scope = "member", Target = "OpenRiaServices.DomainServices.Hosting.PoxBinaryMessageEncodingBindingElement+PoxBinaryMessageEncoder.#ReadMessage(System.IO.Stream,System.Int32,System.String)", Justification = "Disposing reader will prevent the message from being read correctly.")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2202:Do not dispose objects multiple times", Scope = "member", Target = "OpenRiaServices.DomainServices.Hosting.PoxBinaryMessageEncodingBindingElement+PoxBinaryMessageEncoder.#WriteMessage(System.ServiceModel.Channels.Message,System.Int32,System.ServiceModel.Channels.BufferManager,System.Int32)", Justification = "The MemoryStream will not be disposed by the XmlDictionaryWriter")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Reliability", "CA2000:Dispose objects before losing scope", Scope = "member", Target = "OpenRiaServices.DomainServices.Hosting.ServiceUtility.#VerifyAuthenticationMode()", Justification = "Disposing inspector will attempt to close the host and result in an exception.")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Reliability", "CA2000:Dispose objects before losing scope", Scope = "member", Target = "OpenRiaServices.DomainServices.Hosting.MessageUtility.#GetMessageQueryOptions(System.ServiceModel.Channels.Message&)", Justification = "The newReader belongs to message, both are required outside the method.")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Reliability", "CA2000:Dispose objects before losing scope", Scope = "member", Target = "OpenRiaServices.DomainServices.Hosting.MessageUtility+BodyReaderMessage.#CreateMessage()", Justification = "Messages passed out of the method. Callers are responsible for disposing.")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Reliability", "CA2000:Dispose objects before losing scope", Scope = "member", Target = "OpenRiaServices.DomainServices.Hosting.MessageUtility.#GetServiceQuery(System.ServiceModel.Channels.Message&)", Justification = "The reader is required for later processing.")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Reliability", "CA2000:Dispose objects before losing scope", Scope = "member", Target = "OpenRiaServices.DomainServices.Hosting.PoxBinaryMessageEncodingBindingElement+PoxBinaryMessageEncoder+PoxBinaryBufferedMessage+PoxBinaryBufferedMessageBuffer.#CreateMessage()", Justification = "The message is passed to the user. The user is responsible for disposal.")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Reliability", "CA2000:Dispose objects before losing scope", Scope = "member", Target = "OpenRiaServices.DomainServices.Hosting.PoxBinaryMessageEncodingBindingElement+PoxBinaryMessageEncoder+PoxBinaryBufferedMessageData.#TakeReader()", Justification = "The reader is passed to the user. The user is responsible for disposal.")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1806:DoNotIgnoreMethodResults", MessageId = "System.Boolean.TryParse(System.String,System.Boolean@)", Scope = "member", Target = "OpenRiaServices.DomainServices.Hosting.DomainServiceWebHttpBehavior.#GetServiceQuery(System.String,System.String)", Justification = "The default value is expected when the input cannot be parsed.")]
